x86: add platform hypercall to retrieve pCPU-s' family, model, and stepping
authorJan Beulich <jbeulich@suse.com>
Tue, 13 Dec 2011 08:48:51 +0000 (09:48 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 13 Dec 2011 08:48:51 +0000 (09:48 +0100)
commitbb1996629de3cdeedc635e9237525675bdc18f28
treed64eb6c5f30afea5db27ca8669533b35d46c43e7
parent87a009882b3df64bfb0029d439509e234d7bef2a
x86: add platform hypercall to retrieve pCPU-s' family, model, and stepping

With the recent hotplug changes to the Xen part of the microcode
loading, this allows the kernel driver to avoid unnecessary calls into
the hypervisor during pCPU hot-enabling: Knowing that the hypervisor
retains the data for already booted CPUs, only data for CPUs with a
different signature needs to be passed down. Since the microcode
loading code can be pretty verbose, avoiding to invoke it can make the
log much easier to look at in case of problems.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/platform_hypercall.c
xen/arch/x86/x86_64/platform_hypercall.c
xen/include/public/platform.h
xen/include/xlat.lst